// const baseUrl = 'http://172.16.0.10:9060/api/'
const baseUrl = 'https://uma.unimarketing.group/api/'
// const baseUrl = 'http://172.16.0.250:9060/api/'

export default {
  getCaptcha: baseUrl + 'common/getCaptcha',
  login: baseUrl + 'manage/login',
  logout: baseUrl + 'manage/logout',
  modifyPassword: baseUrl + 'manage/modifyPassword',
  getRegionById: baseUrl + 'system/getRegionById',
  upload: baseUrl + 'file/uploadFile',
  getUploadFileName: baseUrl + 'file/uploadVideo',
  advert: {
    getList: baseUrl + 'manage/advert/getListPage',
    getDetail: baseUrl + 'manage/advert/detail',
    add: baseUrl + 'manage/advert/add',
    delete: baseUrl + 'manage/advert/delete',
    update: baseUrl + 'manage/advert/update',
    onOffLine: baseUrl + 'manage/advert/onOffLine',
    getListPageCustomer: baseUrl +  'manage/customerAdvert/getListPageCustomer',
    getSort: baseUrl + "manage/advert/getSort"
  },
  customer: {
    getList: baseUrl + 'manage/customer/getListPage',
    getDetail: baseUrl + 'manage/customer/detail',
    update: baseUrl + 'manage/customer/update',
    onExport: baseUrl + 'manage/customer/onExport'

  },
  courseType: {
    getList: baseUrl + 'manage/courseType/getList',
    add: baseUrl + 'manage/courseType/add',
    update: baseUrl + 'manage/courseType/update',
    delete: baseUrl + 'manage/courseType/delete',
    getChildren: baseUrl + 'manage/courseType/getChildrens'
  },
  course: {
    getList: baseUrl + 'manage/courseInfo/getListPage',
    getDetail: baseUrl + 'manage/courseInfo/detail',
    add: baseUrl + 'manage/courseInfo/add',
    delete: baseUrl + 'manage/courseInfo/delete',
    update: baseUrl + 'manage/courseInfo/update',
    onOffLine: baseUrl + 'manage/courseInfo/onOffLine',
    getSort: baseUrl + 'manage/courseInfo/getSort'
  },
  grade: {
    getList: baseUrl + 'manage/gradeRule/getList',
    getDetail: baseUrl + 'manage/gradeRule/detail',
    add: baseUrl + 'manage/gradeRule/add',
    delete: baseUrl + 'manage/gradeRule/delete',
    update: baseUrl + 'manage/gradeRule/update'
  },
  administrators: {
    getList: baseUrl + 'manage/getListPage',
    update: baseUrl + 'manage/update',
    add: baseUrl + 'manage/add',
  },
  report: {
    courseLearnTimesReport: baseUrl + 'manage/courseTimesReport/courseLearnTimesReport',
    courseReadTimesReport: baseUrl + 'manage/courseTimesReport/courseReadTimesReport',
    getCustomerForCourse: baseUrl + 'manage/courseTimesReport/getCustomerForCourse',
    personalDateTimesReport: baseUrl + 'manage/courseTimesReport/personalDateTimesReport',
    personalReport: baseUrl + 'manage/courseTimesReport/personalReport',
    personalTimesReport: baseUrl + 'manage/courseTimesReport/personalTimesReport',
    advertSignUpReport: baseUrl + 'manage/customerAdvert/advertSignUpReport'
  },
  qa: {
    getList: baseUrl + 'manage/questionAnswer/getListPage',
    answer: baseUrl + 'manage/questionAnswer/answer'
  },
  typeEnum: {
    getCompanyType: baseUrl + 'typeEnum/getListForCompanyType',
    getIndustryType: baseUrl + 'typeEnum/getListForIndustryType',
    getJobType: baseUrl + 'typeEnum/getListForJobType'
  },
  brand: {
    getList: baseUrl + 'manage/pageHome/getList',
    getDetail: baseUrl + 'manage/pageHome/detail',
    update: baseUrl + 'manage/pageHome/update',
  },
  statistics: {
    getTotalInfo: baseUrl + 'manage/total/getTotalInfo'
  },
  blogroll:{
    getAllLinks:baseUrl + 'manager/friendLink/selectByPage',
    add:baseUrl+'manager/friendLink/add',
    delete:baseUrl+'manager/friendLink/delete',
    update:baseUrl+'manager/friendLink/update'
  },
  internalLink:{
    selectByPage:baseUrl+'manage/internalLink/selectByPage',
    add:baseUrl+'manage/internalLink/add',
    update:baseUrl+'manage/internalLink/update',
    delete:baseUrl+'manage/internalLink/delete'
  },
  aggregation:{
    selectByPage:baseUrl+'manage/aggregation/selectByPage',
    update:baseUrl+'manage/aggregation/update',
    add:baseUrl+'manage/aggregation/add',
    delete:baseUrl+'manage/aggregation/delete',
    selectByEncryptId:baseUrl+'manage/aggregation/selectByEncryptId'//查看聚合页面管理对应id的数据
  },
  statement:{
    detail : baseUrl+'manage/copyrightNotice/detail',
    add: baseUrl+'manage/copyrightNotice/save'
  }
}